<!--
 * @Date: 2023-03-06 13:42:55
 * @LastEditTime: 2023-05-16 20:32:31

 * 介绍:
-->
<script lang="ts" setup>
import { copyText } from "@@/utils/tools/project";
import { _require } from "@@/utils/tools";
const props = defineProps<{
  copyText?: StrNumber | undefined | null;
}>();
</script>

<template>
  <div @click="copyText(String(props.copyText || ''))" class="CcopyText">
    <slot></slot>
    <Cicon class="ML-xs" name="cicon-fuzhi"> </Cicon>
  </div>
</template>

<style lang="scss" scoped>
.CcopyText {
  display: inline-block;
  word-break: break-all;
}
</style>
